package com.isolation.harassed.common.util;

import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;

public class NetworkUtil {

	public static NetworkInfo getActiveNetworkInfo(Context cxt) {
		ConnectivityManager mgr = (ConnectivityManager) cxt
				.getSystemService(Context.CONNECTIVITY_SERVICE);
		return mgr.getActiveNetworkInfo();
	}
}
